﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CodeCube.Core.DtoModel.KTDataTable
{
    public class KTDataTableDto
    {
        public KTDataTableDtoPagination pagination { get; set; }
        public Dictionary<string,string> query { get; set; }
        public KTDataTableDtoSort sort { get; set; }
    }
    public class KTDataTableDtoPagination
    {
        public int page { get; set; }
        public int pages { get; set; }
        public int perpage { get; set; }
        public int total { get; set; }
    }
    public class KTDataTableDtoQuery
    {
        public string generalSearch { get; set; }
    }
    public class KTDataTableDtoSort
    {
        public string field { get; set; }
        public string sort { get; set; }
    }
}
